/**
 * Created by 九夏 on 2018/3/23.
 */

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
big,
em,
i,
font,
q,
s,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
tbody,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  font-size: 12px;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, "Lantinghei SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
  font-weight: normal;
  font-style: normal;
}

html,
body {
  width: 100%;
  height: auto;
}

input,
select,
option,
button,
textarea {
  background: linear-gradient(to bottom, #fff, #fff);
  -webkit-background: linear-gradient(to bottom, #fff, #fff);
  -webkit-tap-highlight-color: transparent;
  /* 透明度设置为0，去掉点击链接和文本框对象时默认的灰色半透明覆盖层(iOS)或者虚框(Android) */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  /* 消除输入框和按钮的原生外观，在iOS上加上这个属性才能给按钮和输入框自定义样式 */
  outline: none;
  /* 取消chrome下默认的文本框聚焦样式 */
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "Lantinghei SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
  border-radius: 1px;
}

input[type=text]:focus,
input[type=password]:focus,
select:focus {
  border: 1px solid #38f;
}


/* 修改 input 默认的字体颜色 */

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #ccc;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #ccc;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #ccc;
}

img {
  border: none;
  vertical-align: middle;
}

a {
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  color: #333;
}

ul,
ol,
li {
  list-style-type: none;
}

.clearfix {
  zoom: 1;
  &:after {
    content: "";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
  }
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.hd {
  display: none;
}

.container {
  padding: 0 3%;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
